//
// Created by Nasa on 2024/5/4.
// 质因数分解

#include <iostream>
using namespace std;

int main()
{
    int n = 2*2*2*3*5*17;
    n=3;
    for (int i = 2; i*i<=n; ++i)
    {
        while(n%i==0)
        {
            n/=i;
            cout<<i<<' ';
        }
    }
    if(n>1)
    {
        cout<<n;
    }
    return 0;
}